<div class="contenidofijo" >
<div class="ciuusers consulta_generalhtml" >
	<h2><?php __('Consulta General');?></h2>
        <div class="Ciuusers form">	
        <?php echo $this->Form->create('Ciuuser');?>
        <fieldset>
                <legend><?php __('Buscar'); ?></legend>
        <?php
                echo $this->Form->input('ciulanguage_id'); 
                echo $this->Form->input('ciuacademicperiod_id');
                echo $this->Form->input('ciustudenttype_id');
        ?>
        </fieldset>
        <?php echo $this->Form->end(__('Submit', true));?>
        </div>
        
        <div class="button">
            <?php echo $this->Html->link(__('Generar Reporte', true),array('controller'=>'ciuusers','action'=>'consulta_generalcsv')); ?>
        </div>
        
	<table cellpadding="0" cellspacing="0">
        
        <?php
	$i = 0;
	foreach ($params as $reporte):
            $class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
        ?>
        <tr<?php echo $class;?>>
            <?php 
                $vector=explode(";",$reporte);
                foreach ($vector as $key=>$val){ ?>
                    <td><?php echo $val; ?>&nbsp;</td> <?php
                }
            ?>
            
        </tr>
        <?php endforeach; 
        ?>
	</table>
</div>
</div>
